package com.jetlion.demo2.bean;

import java.util.List;

public class Student {

    private String realname;

    private String sex;

    private List<String> interests;

    public Student() {
    }

    public Student(String realname, String sex, List<String> interests) {
        this.realname = realname;
        this.sex = sex;
        this.interests = interests;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public List<String> getInterests() {
        return interests;
    }

    public void setInterests(List<String> interests) {
        this.interests = interests;
    }

    @Override
    public String toString() {
        return "Student{" +
                "realname='" + realname + '\'' +
                ", sex='" + sex + '\'' +
                ", interests=" + interests +
                '}';
    }
}
